-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: gracefully handle mm impersonators #657
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Current dependencies on/for this PR:
This stack of pull requests is managed by Graphite. |
aa9f3f2
to
e13522e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code-wise looking sane, will give it a runtime test with shapeshift/web#5896.
e13522e
to
601d04c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Runtime is also looking sane against shapeshift/web#5896 👌
I'm getting a snaps install prompt with using actual metamask, but not when using Brave Wallet.
This PR:
wallet_getSnaps
MM JSON-RPC request to impersonators, which would failisUnlocked
method not implemented, e.g https://github.com/zeriontech/zerion-wallet-extension/blob/294630a4e1ef303205a6e6dd681245a27c8d1eec/src/modules/ethereum/provider.ts#L36C1-L39In conjunction with the matching web PR (shapeshift/web#5896), this allows to connect previously not working MM impersonators like Zerion wallet extension.
Screenshots